package com.jzo2o.customer.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzo2o.customer.model.domain.BankAccountMsg;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zcx
 * @since 2024-12-12
 */

public interface BankAccountMsgMapper extends BaseMapper<BankAccountMsg> {
    @Select("select *from bank_account_msg where id = #{id}")
    BankAccountMsg selectByServerProviderId(Long id);
    @Delete("delete from bank_account_msg where id = #{id}")
    void deleteByUserId(Long id);

}
